import jade.core.Agent;
import jade.core.behaviours.*;

import javax.swing.table.DefaultTableModel;

public class CautaPacienti extends Agent {

	String columnNames[] = { "id_pacient", "nume_pacient", "boli_cronice", "alergii", "varsta", "id_doctor", "nume_consultatii", "nume_op_laborator", "data_op_laborator", "nume_spital", "tratament" };

	public int getColumnCount() {
		return columnNames.length;
	}

	public String getColumnName(int column) {
		return columnNames[column];
	}

	public boolean isCellEditable(int row, int column) {
		if ((column == 2) || (column == 3) || (column == 4) || (column == 5) || (column == 6) || (column == 7) || (column == 8) || (column == 9) || (column == 10) || (column == 11) ) {
			return true;
		}
		return false;
	}

}
